
from flask import Blueprint, render_template, request
from flask import redirect, url_for


bp = Blueprint('main', __name__)

# index
@bp.route("/")
def index():
    # http://127.0.0.1:5000/index2?user=weetgo
    user = request.args.get("user")
    return render_template('index.tpl', user= user)
